There is no inbuilt control for this. You can make panels show / disappear using the rendered property and SSJS:
getComponent("ID").setRendered(true / false);
But this will only make it open / close, not add that slide effect. Viewing the source its easy to notice that there is dojo attach points on the panel that shows / hides, my guess would then be that its using some dojo transition (which most likely uses CSS 3 animations) to move it in / out.